import { CAHNGE_INPUT_VALUE, ADD_TODO_ITEM, DELETE_TODO_ITEM, CHECK_BOX_HANDLER, CENSUS_CHECK_NUM, DELETE_COMPLETED } from './actionTypes';
export const changeInput = (value) => {
    return {
        type: CAHNGE_INPUT_VALUE,
        value
    }
}
export const add_todo_item = () => {
    return {
        type:ADD_TODO_ITEM
    }
}
export const delete_todo_item = (index) => {
    return {
        type:DELETE_TODO_ITEM,
        index
    }
}
export const check_box_handler = (index) => {
    return {
        type:CHECK_BOX_HANDLER,
        index
    }
}
export const census_check_num = () => {
    return {
        type:CENSUS_CHECK_NUM
    }
}
export const delete_completed = () => {
    return {
        type:DELETE_COMPLETED
    }
}